We need to have gdk skip standard processing of events when we are in
manual move in addition to manual resize.
https://bugzilla.gnome.org/show_bug.cgi?id=720357
return YES;
}
--(BOOL)isInManualResize
+/* Used by gdkevents-quartz.c to decide if our sendEvent() handler above
+ * will see the event or if it will be subjected to standard processing
+ * by GDK.
+*/
+-(BOOL)isInManualResizeOrMove
{
- return inManualResize;
+ return inManualResize || inManualMove;
}
-(void)beginManualMove
-(BOOL)isInMove;
-(void)beginManualMove;
-(BOOL)trackManualMove;
--(BOOL)isInManualResize;
+-(BOOL)isInManualResizeOrMove;
-(void)beginManualResize;
-(BOOL)trackManualResize;
-(void)showAndMakeKey:(BOOL)makeKey;
return FALSE;
}
- /* Also when in a manual resize, we ignore events so that these are
- * pushed to GdkQuartzNSWindow's sendEvent handler.
+ /* Also when in a manual resize or move , we ignore events so that
+ * these are pushed to GdkQuartzNSWindow's sendEvent handler.
*/
- if ([(GdkQuartzNSWindow *)nswindow isInManualResize])
+ if ([(GdkQuartzNSWindow *)nswindow isInManualResizeOrMove])
return FALSE;
/* Find the right GDK window to send the event to, taking grabs and